﻿<Window x:Class="VSTweaker.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Views="clr-namespace:VSTweaker.UI.Views" Title="VSTweaker" Height="350" Width="525" Icon="/VSTweaker;component/Images/Burn.ico">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="125"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="45"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <TextBlock Grid.ColumnSpan="2" Foreground="White" TextWrapping="Wrap" Margin="5">Select the Visual Studio version that you wish to modify. Checking or unchecking a component will take effect immediately. Please back up your registry before using this tool.</TextBlock>
        
        <TextBlock Grid.Column="0" Grid.Row="1"  VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10" Foreground="White">Visual Studio Version</TextBlock>
        <ComboBox Grid.Column="1" Grid.Row="1"
                  Margin="10"
            ItemsSource="{Binding Path=AvailableVisualStudioVersions}"
                      HorizontalAlignment="Stretch"
                      SelectedValue="{Binding Path=SelectedVisualStudioVersion}"/>
        
        <Grid Grid.Row="2" x:Name="tabMain" Grid.ColumnSpan="2" Margin="10">

        </Grid>
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF293955" Offset="0" />
                <GradientStop Color="#D9293955" Offset="1" />
            </LinearGradientBrush>
        </Grid.Background>
    </Grid>
</Window>
